import { request } from '@/utils/request.js'

// 获取活动列表
export function apiGetActivityList(data = {}) {
    return request({
        // url: "/activity/list",
        url: "/userActivityDumpling/list",
        data
    })
}

// 获取拼团首页推荐商品列表
export const apiGetHotList = (data) => {
    return request({
        url: '/activity_product/get_hot_list',
        data
    })
}

// 获取活动商品
export const apiGetActivityProductList = (data) => {
    return request({
        url: '/activity_product/list',
        data
    })
}


